Actions for Spatial Tracks
The following actions for spatial tracks let you change the spatial properties in movies, such as scaling, resizing, or changing shapes.
Constant descriptions
-
kActionTrackSetMatrix
-
Supported Flags:
IsDelta
,
WrapsAround
Param1: [MatrixRecord matrix]
-
For each matrix element, the default maximum and minimum values are the largest and smallest possible Fixed values.
-
Sets the target track's matrix, allowing you to move, resize, rotate, and otherwise distort a track's shape. If you set the Track's matrix to a value that makes its display bounds fall outside of the movie's bounds, then the movie's bounds are resized to accommodate the new track box. Although this work's fine in the QuickTime Movie Player, be warned that not all applications support this type of dynamic movie resizing cleanly.
-
kActionTrackSetLayer
-
Supported Flags:
IsDelta
,
WrapsAround Param1: [short layer]
-
Sets the target track's layer number. This is used to specify its front-to-back order relative to the other spatial track's in the movie. The smaller the layer number, the more forward the track appears.
-
kActionTrackSetClip
-
Supported Flags: none
Param1: [RgnHandle clip]
-
Sets the track's clipping region. This parameter contains QuickDraw Region data.
© 1999 Apple Computer, Inc.| Previous | Chapter Contents | Chapter Top | Next |